class GetXRoute {
  final String routeName;
  final List<Type> middlewares;
  final Type? binding; // 单个可选的 Binding 类型

  const GetXRoute(
    this.routeName, {
    this.middlewares = const [],
    this.binding, // 不再需要默认值
  });
}
